package com.hhx.androidrxmvp.dagger.component;

import android.app.Activity;
import android.content.Context;

import com.hhx.androidrxmvp.dagger.ActivityScope;
import com.hhx.androidrxmvp.dagger.module.ActivityModule;
import com.hhx.androidrxmvp.ui.LoginActivity;

import dagger.Component;

/**
 * Created by Administrator on 2019/3/18.
 */
@ActivityScope
@Component(dependencies = ApplicationComponent.class, modules = {ActivityModule.class})
public interface ActivityComponent {

    Activity getActivity();

    Context getContext();

    void inject(LoginActivity loginActivity);

}
